package com.business.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.business.mapper.T_task_node_instanceMapper;
import com.business.domain.T_task_node_instance;

@Service("t_task_node_instanceService")
@Transactional
public class T_task_node_instanceService{
	private static Logger log = Logger.getLogger(T_task_node_instanceService.class.getName());

	@Resource
    private T_task_node_instanceMapper t_task_node_instanceMapper;


	public int save(T_task_node_instance obj){
		 return t_task_node_instanceMapper.save(obj);
	}

	public int update(T_task_node_instance obj){
		return t_task_node_instanceMapper.update(obj);
	}

	public int updateMD(T_task_node_instance obj){
		return t_task_node_instanceMapper.updateMD(obj);
	}

	public int delete(T_task_node_instance obj){
		return t_task_node_instanceMapper.delete(obj);
	}

	public T_task_node_instance findById(T_task_node_instance obj){
		return t_task_node_instanceMapper.findById(obj);
	}

	public List findAll(T_task_node_instance obj ){
		 return t_task_node_instanceMapper.findAll(obj);
	}

	public int findCountAll(T_task_node_instance obj ){
		 return t_task_node_instanceMapper.findCountAll(obj);
	}
	public List findAllByGroup(T_task_node_instance obj ){
		return t_task_node_instanceMapper.findAll(obj);
	}

	public int findCountAllByGroup(T_task_node_instance obj ){
		return t_task_node_instanceMapper.findCountAll(obj);
	}

}
